package com.rivulet.dawn.service.mapper;

import com.rivulet.dawn.api.model.BraveModel;
import com.rivulet.dawn.api.request.BraveQueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BraveMapper {

    BraveModel selectById(Long id);

    int delete(List<Long> ids);

    int insert(BraveModel record);

    int insertSelective(BraveModel record);

    int updateByPrimaryKeySelective(BraveModel record);

    List<BraveModel> search(BraveQueryRequest request);
}